package com.xinzhidi.web.equipment.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;


/**
 * 室温采集器设备对象 EquipmentTemperatureVo
 *
 * @author cx
 * @date 2023-10-07
 */
@ApiModel(value = "室温采集器设备对象")
@Data
@EqualsAndHashCode(callSuper = false)
public class EquipmentTemperatureVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备id")
    private Long id;

    @ApiModelProperty(value = "dtuId")
    private Long dtuId;

    @ApiModelProperty(value = "协议类型 1：户用阀门协议 2：单元阀门协议 3：室温采集器协议 4：户用热量表协议 5：单元热量表协议 6:海龙马调节阀协议")
    private String protocolType;

    @ApiModelProperty(value = "小区id")
    private Long lotId;

    @ApiModelProperty(value = "小区名称")
    private String lotName;

    @ApiModelProperty(value = "楼栋id")
    private Long buildId;

    @ApiModelProperty(value = "楼栋名称")
    private String buildName;

    @ApiModelProperty(value = "单元id")
    private Long unitId;

    @ApiModelProperty(value = "单元名称")
    private String unitName;

    @ApiModelProperty(value = "住户id")
    private Long householdId;

    @ApiModelProperty(value = "住户名称")
    private String householdName;

    @ApiModelProperty(value = "设备名称")
    private String equipmentName;

    @ApiModelProperty(value = "设备编号")
    private String equipmentCode;

    @ApiModelProperty(value = "设备地址")
    private String address;

    @ApiModelProperty(value = "设备状态 0：未知 1：在线 2：离线")
    private Integer status;

    @ApiModelProperty(value = "室温")
    private BigDecimal temperature;

    @ApiModelProperty(value = "室温采集器状态 0：未知 1：在线 2：离线")
    private String temperatureStatus;
}
